package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbUserInterest;
import com.quanyan.user.model.db.TbUserInterestExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface TbUserInterestMapper {
    int countByExample(TbUserInterestExample example);

    int deleteByExample(TbUserInterestExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserInterest record);

    int insertSelective(TbUserInterest record);

    List<TbUserInterest> selectByExample(TbUserInterestExample example);

    TbUserInterest selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserInterest record, @Param("example") TbUserInterestExample example);

    int updateByExample(@Param("record") TbUserInterest record, @Param("example") TbUserInterestExample example);

    int updateByPrimaryKeySelective(TbUserInterest record);

    int updateByPrimaryKey(TbUserInterest record);

}